package com.gitee.flwwsg.rpc.transport.command;

import lombok.Getter;
import lombok.Setter;

/**
 * rpc 命令
 */
@Setter
@Getter
public class Command {
    protected Header header;
    private byte[] payload;

    public Command(Header header, byte[] payload) {
        this.header = header;
        this.payload = payload;
    }
}
